---
title: "document/[DocumentID]"
method: GET
path: "/document/[:DocumentID]"
tags: ["Document Endpoints"]
---

# document/\[DocumentID\]

`GET /document/[:DocumentID]`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/document/[:DocumentID]`
- Auth: none declared

To retrieve a document once it is uploaded, send a request to this endpoint. It will return the document URL so you can have direct access to it. Replace the {DocumentID} in the endpoint with the DocumentID returned from the document list endpoint or the one returned by the upload endpoint. The returned URL is valid for 60 mins.

## Query parameters

- `AccountID` string, required
- `Key` string, required
- `Signature` string, required

## Response `200`

- object
  - `Success` boolean: True if the request was successful, false if it failed
  - `ErrorMessage` string: Contains a description of the error if the request failed
  - `Document` string: URL of the requested document. It expires in 60 minutes. Do another request to get a new URL if necessary.

---

[API](https://skmtc.dev/vopay/apis/account-onboarding.md) - [All operations](https://skmtc.dev/vopay/apis/account-onboarding/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/account-onboarding/revisions/2cdc1beeb678?raw)
